/*
 * Copyright© 2003-2019 浙江汇信科技有限公司, All Rights Reserved. 
 */
package com.icinfo.cloud.provider.punish.csource.manage.service;

import com.icinfo.cloud.provider.punish.csource.manage.dto.FlowCommonDto;
import com.icinfo.cloud.provider.punish.csource.manage.dto.FlowRecordDto;
import com.icinfo.cloud.provider.punish.csource.manage.dto.FlowRecordVo;
import com.icinfo.cloud.provider.punish.csource.manage.model.CaseSourceFlowRecord;
import com.icinfo.framework.core.service.BaseService;

import java.util.List;

/**
 * 描述: 案源登记流程记录表 case_source_flow_record 对应的Service接口.<br>
 *
 * @author framework generator
 * @date 2022年08月12日
 */
public interface ICaseSourceFlowRecordService extends BaseService {
    /**
     *查询流转日志
     * @author liyafeng
     * @date 2022/8/15
      * @param flowRecordDto
     * @return {@link List< FlowRecordVo>}
     */
    List<FlowRecordVo> getFlowRecordList(FlowRecordDto flowRecordDto);
    /**
     * 通用保存流转日志方法
     * @author liyafeng
     * @date 2022/8/15
      * @param
     * @return {@link int}
     */
    int saveCommonFlowRecord(FlowCommonDto flowCommonDto);
    /**
     * 查询最新的流转状态
     * @author liyafeng
     * @date 2022/8/15
      * @param
     * @return {@link CaseSourceFlowRecord}
     */
    CaseSourceFlowRecord getLastCaseSourceFlowRecord(String caseSourceId);
}